

<template>
    <div class="sdy-search-list">
        <ul>
            <li
            v-for="item in searchList"
            :key="item.proid"
            >{{item.proname}}</li>
        </ul>
    </div>
</template>

<script setup lang="ts">
import {inject} from 'vue'
import type {MyHotItem} from '@/config/inter'

const searchList = inject<MyHotItem[]>('searchList')
console.log(searchList)

</script>

<style lang="ts" scoped>
</style>